package com.augurit.common.syscode.util;

import java.util.ArrayList;
import java.util.List;

import com.augurit.common.syscode.web.form.SysCodeForm;

public class SysCodeUtils {

	public static List<String> convertToTypeCodeList(List<SysCodeForm> list){
		if(list != null && list.size() > 0){
			List<String> result = new ArrayList();
			
			for(SysCodeForm form : list){
				result.add(form.getTypeCode());
			}
			
			return result;
		}
		return null;
	}
	
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
